import './assets/index.less'

import { createApp } from 'vue'
import Antd from 'ant-design-vue'
import { createPinia } from 'pinia'

import application from './application'
import App from './App.vue'
import router from './router'
import * as Icons from '@ant-design/icons-vue';

const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(Antd)
app.use(application)
// 循环使用全部全部图标
for (const i in Icons) {
    // 全局注册一下组件
    app.component(i, Icons[i])
}

app.mount('#app')
